<!DOCTYPE html>
<html>
<head>
    <script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script>
    <script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js" type="text/javascript"></script>

    <link href="https://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet" />
</head>
<body>
    <h1>Popup 2</h1>
    <input type="text" id="txtSendValue" /> 
    <a id="lnkSendValue" href="#">Send Value</a>

    <link href="Scripts/iFramePopup.css" rel="stylesheet" />
    <script src="Scripts/iFramePopup.js"></script>
    <script>
        $(function () {
            $("#lnkSendValue").click(function () {
                $.iFramePopup.CompletePopup($("#txtSendValue").val());
            });
        });
    </script>
</body>
</html>